<?php

namespace App\Models;


use Illuminate\Database\Eloquent\Relations\HasOne;

class UserNotesModel extends BaseModel
{
    protected $table = 'user_notes';

    /**
     * 管理.
     *
     * @return HasOne
     */
    public function classBy(): HasOne
    {
        return $this->hasOne(NoteClassifyModel::class, 'id', 'classify');
    }
}
